/**
 * Created with IntelliJ IDEA.
 * Description:
 * User:何人亮
 * Date:2024-06-05
 * 17:11
 */
public class Test {
    public static void main(String[] args) {

        try{

            login login=new login();
            login.setPassWord("123");
            login.setUseNamed("杨jian");
            login.logininf("杨","123");
        }catch (passWordexception p ){
            p.printStackTrace();
        }catch (useNameexception u ){
            u.printStackTrace();
        }

    }
}
